<template>
  <div class="Details">
    <div class="top">
      <el-button>取消</el-button>
    </div>
    <el-form :model="form" label-width="100px" style="width: 350px">
      <el-form-item label="产品名称:">
        <el-input v-model="$data.name" placeholder="输入产品名字" />
      </el-form-item>
    </el-form>
    <el-form :model="form" label-width="100px" style="width: 350px">
      <el-form-item label="产品状态:">
        <el-input v-model="$data.name" />
      </el-form-item>
    </el-form>
    <el-form :model="form" label-width="100px" style="width: 350px">
      <el-form-item label="成本价:">
        <el-input v-model="$data.name" />
      </el-form-item>
    </el-form>
    <el-form :model="form" label-width="100px" style="width: 350px">
      <el-form-item label="计量单位:">
        <el-input v-model="$data.name" placeholder="输入产品名字" />
      </el-form-item>
    </el-form>
    <el-form :model="form" label-width="100px" style="width: 350px">
      <el-form-item label="品级:">
        <el-input v-model="$data.name" />
      </el-form-item>
    </el-form>
    <el-form :model="form" label-width="100px" style="width: 350px">
      <el-form-item label="限购数量:">
        <el-input v-model="$data.name" />
      </el-form-item>
    </el-form>
    <el-form :model="form" label-width="100px" style="width: 350px">
      <el-form-item label="定价:">
        <el-input v-model="$data.name" placeholder="输入产品名字" />
      </el-form-item>
    </el-form>
    <el-form :model="form" label-width="100px" style="width: 350px">
      <el-form-item label="成本价:">
        <el-input v-model="$data.name" />
      </el-form-item>
    </el-form>
    <el-form :model="form" label-width="100px" style="width: 350px">
      <el-form-item label="优惠价:">
        <el-input v-model="$data.name" />
      </el-form-item>
    </el-form>
    <el-form :model="form" label-width="100px" style="width: 1350px">
      <el-form-item label="产地:">
        <el-input v-model="$data.name" />
      </el-form-item>
    </el-form>
    <el-form :model="form" label-width="100px" style="width: 350px">
      <el-form-item label="上架时间:">
        <el-input v-model="$data.name" />
      </el-form-item> </el-form
    ><el-form :model="form" label-width="100px" style="width: 350px">
      <el-form-item label="下架时间:">
        <el-input v-model="$data.name" />
      </el-form-item>
    </el-form>
    <br />
    <el-form :model="form" label-width="100px" style="width: 350px">
      <el-form-item label="详情图:">
        <el-input v-model="$data.name" />
      </el-form-item>
    </el-form>
    <br />
    <el-form :model="form" label-width="100px" style="width: 350px">
      <el-form-item label="轮播图:">
        <el-input v-model="$data.name" />
      </el-form-item>
    </el-form>
    <br />
    <el-form :model="form" label-width="100px" style="width: 1350px">
      <el-form-item label="备注:">
        <el-input
          v-model="textarea2"
          :autosize="{ minRows: 2, maxRows: 4 }"
          type="textarea"
        />
      </el-form-item>
    </el-form>
    <el-form :model="form" label-width="100px">
      <el-form-item label="配方:">
        <el-table :data="tableData" border>
          <el-table-column
            prop="state"
            label="名称"
            width="180"
            align="center"
          />
          <el-table-column
            prop="name"
            label="类型"
            width="180"
            align="center"
          />
          <el-table-column
            prop="brand"
            label="品牌"
            width="180"
            align="center"
          />
          <el-table-column
            prop="address"
            label="品级"
            width="180"
            align="center"
          />
          <el-table-column
            prop="price"
            label="数量"
            width="180"
            align="center"
          />
          <el-table-column
            prop="types"
            label="计量单位"
            width="180"
            align="center"
          />
          <el-table-column
            prop="operation"
            label="供应商"
            width="180"
            align="center"
          >
          </el-table-column>
        </el-table>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  name: "",
  data() {
    return {
      textarea2: "",
    };
  },
};
</script>

<style lang="less" scoped>
.top {
  float: right;
  margin-right: 20px;
  margin-bottom: 10px;
}
.el-form {
  display: inline-block;
  margin-top: 50px;
  margin-left: 150px;
}
</style>
